package visiopuce.objets;

public class TypeCotation {

	private String description;
	/**
	 * 
	 */

	private Integer idTypeCotation;
	private String libelle;
	private Integer quantite;
	private String typeB;

	public TypeCotation() {

	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		TypeCotation other = (TypeCotation) obj;
		if (idTypeCotation == null) {
			if (other.idTypeCotation != null)
				return false;
		} else if (!idTypeCotation.equals(other.idTypeCotation))
			return false;
		return true;
	}

	public String getDescription() {
		return description;
	}

	public Integer getIdTypeCotation() {
		return idTypeCotation;
	}

	public String getLibelle() {
		return libelle;
	}

	public Integer getQuantite() {
		return quantite;
	}

	public String getTypeB() {
		return typeB;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((idTypeCotation == null) ? 0 : idTypeCotation.hashCode());
		return result;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public void setIdTypeCotation(Integer idTypeCotation) {
		this.idTypeCotation = idTypeCotation;
	}

	public void setLibelle(String libelle) {
		this.libelle = libelle;
	}

	public void setQuantite(Integer quantite) {
		this.quantite = quantite;
	}

	public void setTypeB(String typeB) {
		this.typeB = typeB;
	}
}
